package com.yunhe.inspect.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName DataInspectPlanQueryCondition
 * @Description TODO
 * @Author HeTao
 * @Date 2021/11/9 16:16
 * @Version 1.0
 **/
@Data
@ApiModel("列表查询入参对象")
public class DataInspectPlanQueryCondition {

    @ApiModelProperty(value = "巡检计划标题",required = false)
    private String inspectPlanTitle;

    @ApiModelProperty(value = "创建开始时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String createStartTime;

    @ApiModelProperty(value = "创建结束时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String createEndTime;


    @ApiModelProperty(value = "所属部门",required = false)
    private Long orgId;

    @ApiModelProperty(value = "部门集合",hidden = true,required = false)
    private List<Long> orgIds;

    @ApiModelProperty(value = "巡检类型",required = false)
    private String inspectType;

    @ApiModelProperty(value = "计划周期",required = false)
    private String inspectPlanCycle;

    @ApiModelProperty(value = "周期状态",required = false)
    private String inspectPlanCycleStatus;

    @ApiModelProperty(value = "项目id",hidden = true,required = false)
    private Long stationId;

    @ApiModelProperty(value = "当前页",required = true)
    private int page;

    @ApiModelProperty(value = "页面条数",required = true)
    private int size;

}
